﻿#ifndef __TURNTABLE_H
#define __TURNTABLE_H
#include "stdio.h"
#include "sys.h"
#define __USART_IRQHandler_TurnTable__ USART2_IRQHandler//串口处理函数的名字
extern unsigned short remainTime_sendTurnTableData;
extern unsigned short remainTime_getCurrentState;
extern unsigned short remainTime_getRunningState;
void TurnTable_connectToTurnTable(void);
void TurnTable_getRunningState(void);
void TurnTable_getCurrentState(void);
void TurnTable_getTurnTableState(void);
void TurnTable_sendDataToTurnTable(void);
void TurnTable_appendTurnTableDataToSendQueue(unsigned char *source);
unsigned char TurnTable_isDataBufferEmpty(void);
void TurnTable_dataBufferGetData(unsigned char *target);
void TurnTable_decode(void);
void TurnTable_uart_init(void);
void TurnTable_init(void);
void __USART_IRQHandler_TurnTable__(void);
#endif
